home *** CD-ROM | disk | FTP | other *** search
- wfmm contributions readme info file
- -----------------------------------
-
- windmill fraser multimedia, inc. has contributed several useful and fun things
- to the release of trueSpace4. Be sure to check out our website for information
- about all our trueSpace products, including the coolpowers series of plugins:
-
- http://www.wfmm.com/
-
- Thanks, and enjoy!
-
- Simon Windmill,
- President and CEO
-
-
-
- Python scripts
- --------------
-
- I like Python, and wanted to show how easy it is to make something useful with
- it in tS. I encourage you to look at each script, make some modifications, see
- what happens. Even if you've never done any programming before, you should be
- able to create something yourself pretty quickly.
-
- eyeblink.scn - load this scene, and press the Play Scripts button. The little
- guy should start blinking merrily. Press the Stop Scripts button
- when you get tired of it all. If you only wanted him to blink
- while playing or rendering an animation, you could modify the
- def ontimechanged(): to def onframechanged():
-
- groundlock.py - this is a very simple script, it just makes sure an object doesn't
- go below a certain level (if this level is the same as the tS4
- grid, it would probably make more sense to use tS4's collision
- detection rather than this script). As an example, create a
- cube, open the script manager, and open this script. Press
- Play Scripts. Now move the cube below the ground level, and
- when you let go of the mouse button, the object will pop back
- up again.
-
- autosave.py - a scene script to automatically save backups of the scene you're
- working on. Open the script manager, and select Scene. Load this
- script. You'll need to edit two variables: Change TimeDelay to
- the number of minutes you want between each save. Change the
- BaseSceneName variable to the filename you want for your backups
- e.g. if you want to save backups to c:\temp\ and you want them
- to be called coolbackup?.scn (with ? being a number), then set this
- variable to 'c:\\temp\\coolbackup'.
- Hit Play Scripts and your scene will be automagically backed up
- while you work.
-
- constupdate.py - this is a simple one, but it aids the use of the tS Lookat
- tool. Attach this script to an object (source) that is looking at
- another object (target). Now press Play Scripts. Whenever you
- release the mouse button after moving the target object, the
- source will update its position. This lets you see how Lookat
- affects tracking interactively, instead of waiting until render
- or playback time.